export interface Chess {
  x: number
  y: number
  src?: string
  display?: string
  isRed?: boolean
  history?: Chess[]
}

export interface ChessList {
  [key: string]: Chess
}

export interface History {
  moveID: string
  killID?: string
}

export interface Message {
  clientID: number
  opponentID: number
  roomID: number
  key: string
  x: number
  y: number
  msg: string
  player: boolean
  canStart: boolean
  opponentQuit: boolean
  talk: string
  canOpponentRegret: number
}